from other import log_set
import other as f
import pytest

if __name__ == '__main__':
    log_set()
    pytest.main(["test_A3mall.py","-s","--alluredir=./data","--clean-alluredir"])
    import os
    os.system("allure generate ./data -o htmlreport --clean")
    f.sent_email(["./log.log",r"C:\Users\张震海\Desktop\dfs\day20\html\index.html"])